//
//  XFYDrawerView.h
//  SDKSample
//
//  Created by 小肥羊 on 15/9/23.
//  Copyright © 2015年 Zhu‘s Game House. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum
{
    XFYDrawerViewAnyDirectionType = 0,          /**< 任意方向 */
    XFYDrawerViewHorizontalDirectionType = 1,   /**< 水平方向 */
    XFYDrawerViewVerticalDirectionType = 2      /**< 垂直方向 */
}
XFYDrawerViewType;

@interface XFYBaseDrawerView : UIView

@property (nonatomic) CGPoint startPoint;
@property (nonatomic) XFYDrawerViewType drawerViewType;

@end


@interface XFYDrawerView : XFYBaseDrawerView

@property (strong, nonatomic) UIView *headerView;
@property (strong, nonatomic) UIView *tailView;

- (id)initWithHeaderView:(UIView *)headerView TailView:(UIView *)tailView;
- (void)openView:(BOOL)isOpen;

@end